package com.ll.admin.filter.authc;


import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;


public class MyFormAuthenticationFilter extends FormAuthenticationFilter {
    @Override
    protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) {
        if(super.isLoginRequest(request,response) && isLoginRequest(request,response)){
            return false;
        }
        return super.isAccessAllowed(request, response, mappedValue);
    }
}
